@import "./mixin";
@import "./icon";

page,
body {
  height: 100%;
  background-color: $bg-color-base;
  box-sizing: border-box;
  font-weight: 400;
  font-family: $font-regular;
}

@media screen and (min-width: 500px) {

  html,
  body {
    max-width: 1500px;
    margin: 0 auto;
    position: relative;
  }
}

.taro-img,
image {
  width: 100%;
}

button {
  outline: none;

  &.button-btn::after {
    border: none;
    outline: medium;
    border-radius: 10px;
  }
}

.checkBoxView {
  width: 42px;
  height: 42px;
  border: 1px #cccccc solid;
  border-radius: 50%;
}

radio-group {
  radio {
    transform: scale(0.7);
    font-size: 47px;
  }
}

.weui-load {
  margin: 0 auto;
  padding-top: 300px;
  text-align: center;
}

.weui-loading {
  margin: 0 5px;
  width: 60px;
  height: 60px;
  display: inline-block;
  vertical-align: middle;
  -webkit-animation: weuiLoading 1s steps(12, end) infinite;
  animation: weuiLoading 1s steps(12, end) infinite;
  background: transparent url() no-repeat;
  background-size: 100%;
}

//******常用类******/
.clearfix:after {
  content: "";
  display: block;
  clear: both;
}

.clearfix {
  zoom: 1;

  &:after {
    content: "";
    display: block;
    clear: both;
  }
}

.left {
  float: left;
}

.right {
  float: right;
}

.hide {
  display: none;
}

.show {
  display: block;
}

.position-center {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: auto;
}

// 平方 常规 400
.font-regular {
  font-family: $font-regular;
  font-weight: 400;
}

// 平方 中等 500
.font-medium {
  font-family: $font-medium;
  font-weight: 500;
}

// 平方 加粗 600
.font-bold {
  font-family: $font-bold;
  font-weight: 600;
}

// placeholder 样式
.input-placeholder {
  font-family: $font-regular;
  font-weight: 400;
  @include sc(28px, #999);
}

.FormItem-value {
  input {
    @include hl(90px);
  }

  .picker {
    color: $font-color-regular;

    Text.txt {
      @include sc(28px, #999);
    }
  }
}